package com.huatai.exchange.service;

import com.faneui.common.exception.BusinessException;
import com.huatai.exchange.dal.model.ExcCustDataFile;

import java.util.List;

public interface ExcCustDataFileService {

    /**
     *
     * @param excCustDataFile
     * @return
     * @throws BusinessException
     */
    List<ExcCustDataFile> queryExcCustDataFileList(ExcCustDataFile excCustDataFile )throws BusinessException;

    ExcCustDataFile queryExcCustDataFile(String id)throws BusinessException ;

    void modifyCustDataFile(ExcCustDataFile excCustDataFile) throws BusinessException;

    /**
     *  更新下一个日期
     *
     * @param id
     * @param newNextDate
     * @param oldNextDate
     * @throws BusinessException
     */
    void modifyCustDataFile(String id,String newNextDate,String oldNextDate) throws BusinessException ;
}
